package org.jeecgframework.web.system.pojo.base;

import javax.persistence.*;

import org.codehaus.jackson.annotate.JsonIgnore;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.annotations.NotFound;
import org.hibernate.annotations.NotFoundAction;
import org.jeecgframework.poi.excel.annotation.Excel;

/**   
 * @Title: Entity
 * @Description: 巡检评价
 * @author onlineGenerator
 * @date 2016-09-06 10:54:50
 * @version V1.0
 *
 */
@Entity
@Table(name = "cbs_inspection_evaluate", schema = "")
@SuppressWarnings("serial")
public class CbsInspectionEvaluateEntity implements java.io.Serializable {
	/**主键*/
	private java.lang.String id;
	/**总体评分*/
	private java.lang.Integer lastEvaluate;
	/**服务评分*/ /*工程师响应速度*/
	private java.lang.Integer serviceEvaluate;
	/**沟通评分*/ /*工程师服务态度*/
	private java.lang.Integer talkEvaluate;
	/**巡检效果评分*/   /*工程师技术水平*/
	private java.lang.Integer effectEvaluate;
	/**培训评分*/  /*维修效果*/
	private java.lang.Integer trainEvaluate;
	/**技能评分*/ /* 配件是否及时到场*/
	private java.lang.Integer skillEvaluate;
	/**意见或评价*/
	private java.lang.String opinion;
	/**巡检ID*/
	private ZyInspectionPlanEntity inspection;
	/*服务单id*/
	private CbsServiceEntity cbsService;
	/**评价状态*/
	private String evaluateState;
	/**业务类型*/  /*服务类型*/
	private String busType;
	/**评价备注*/
	private String remark;

    /**评价类型hd评价/其它*/
    private String evaluateType;
	
	/**创建人名称*/
	private java.lang.String createName;
	/**创建人登录名称*/
	private java.lang.String createBy;
	/**创建日期*/
	private java.util.Date createDate;
	/**更新人名称*/
	private java.lang.String updateName;
	/**更新人登录名称*/
	private java.lang.String updateBy;
	/**更新日期*/
	private java.util.Date updateDate;
	
	
    /**评价人*/
	private java.lang.String evaluateName;
	/**评价时间*/
	private java.util.Date evaluateTime;


	//服务单手动创建，填写影院名称、联系人姓名、联系人电话、服务类型、服务单ID（非必填），创建回访任务。评价状态为“未评价”，
	/*影院名称*/
	private String cinemaName;
	/*联系人姓名*/
	private String linkman;
	/*联系人电话*/
	private String linkphone;
	/*服务单单号*/
	private String cbsCode;
    /*所属影院id*/
	private String belongCinemaId;

    @Column(name ="cbs_code")
    public String getCbsCode() {
        return cbsCode;
    }

    public void setCbsCode(String cbsCode) {
        this.cbsCode = cbsCode;
    }

	@Column(name ="belong_cinema_id")
	public String getBelongCinemaId() {
		return belongCinemaId;
	}

	public void setBelongCinemaId(String belongCinemaId) {
		this.belongCinemaId = belongCinemaId;
	}

	@Column(name ="cinema_name")
	public String getCinemaName() {
		return cinemaName;
	}

	public void setCinemaName(String cinemaName) {
		this.cinemaName = cinemaName;
	}

	@Column(name ="link_man")
	public String getLinkman() {
		return linkman;
	}

	public void setLinkman(String linkman) {
		this.linkman = linkman;
	}

	@Column(name ="link_phone")
	public String getLinkphone() {
		return linkphone;
	}

	public void setLinkphone(String linkphone) {
		this.linkphone = linkphone;
	}

	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  主键
	 */
	@Id
	@GeneratedValue(generator = "paymentableGenerator")
	@GenericGenerator(name = "paymentableGenerator", strategy = "uuid")
	@Column(name ="ID",nullable=false,length=36)
	public java.lang.String getId(){
		return this.id;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  主键
	 */
	public void setId(java.lang.String id){
		this.id = id;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  总体评分
	 */
	@Column(name ="LAST_EVALUATE",nullable=true,length=32)
	public java.lang.Integer getLastEvaluate(){
		return this.lastEvaluate;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  总体评分
	 */
	public void setLastEvaluate(java.lang.Integer lastEvaluate){
		this.lastEvaluate = lastEvaluate;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  服务评分
	 */
	@Column(name ="SERVICE_EVALUATE",nullable=true,length=32)
	public java.lang.Integer getServiceEvaluate(){
		return this.serviceEvaluate;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  服务评分
	 */
	public void setServiceEvaluate(java.lang.Integer serviceEvaluate){
		this.serviceEvaluate = serviceEvaluate;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  沟通评分
	 */
	@Column(name ="TALK_EVALUATE",nullable=true,length=32)
	public java.lang.Integer getTalkEvaluate(){
		return this.talkEvaluate;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  沟通评分
	 */
	public void setTalkEvaluate(java.lang.Integer talkEvaluate){
		this.talkEvaluate = talkEvaluate;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  培训评分
	 */
	@Column(name ="TRAIN_EVALUATE",nullable=true,length=32)
	public java.lang.Integer getTrainEvaluate(){
		return this.trainEvaluate;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  培训评分
	 */
	public void setTrainEvaluate(java.lang.Integer trainEvaluate){
		this.trainEvaluate = trainEvaluate;
	}
	/**
	 *方法: 取得java.lang.Integer
	 *@return: java.lang.Integer  技能评分
	 */
	@Column(name ="SKILL_EVALUATE",nullable=true,length=32)
	public java.lang.Integer getSkillEvaluate(){
		return this.skillEvaluate;
	}

	/**
	 *方法: 设置java.lang.Integer
	 *@param: java.lang.Integer  技能评分
	 */
	public void setSkillEvaluate(java.lang.Integer skillEvaluate){
		this.skillEvaluate = skillEvaluate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  意见或建议
	 */
	@Column(name ="OPINION",nullable=true)
	public java.lang.String getOpinion(){
		return this.opinion;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  意见或建议
	 */
	public void setOpinion(java.lang.String opinion){
		this.opinion = opinion;
	}

	@JsonIgnore
    @OneToOne(optional = true)
    @JoinColumn(name = "inspection_id")
	@NotFound(action= NotFoundAction.IGNORE)
    public ZyInspectionPlanEntity getInspection() {
        return inspection;
    }

    public void setInspection(ZyInspectionPlanEntity inspection) {
        this.inspection = inspection;
    }

	@JsonIgnore
	@OneToOne(optional = true)
	@JoinColumn(name = "cbsservice_id")
	@NotFound(action=NotFoundAction.IGNORE)
	public CbsServiceEntity getCbsService() {
		return cbsService;
	}

	public void setCbsService(CbsServiceEntity cbsService) {
		this.cbsService = cbsService;
	}

	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  创建人名称
	 */
	@Column(name ="CREATE_NAME",nullable=true,length=50)
	public java.lang.String getCreateName(){
		return this.createName;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  创建人名称
	 */
	public void setCreateName(java.lang.String createName){
		this.createName = createName;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  创建人登录名称
	 */
	@Column(name ="CREATE_BY",nullable=true,length=50)
	public java.lang.String getCreateBy(){
		return this.createBy;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  创建人登录名称
	 */
	public void setCreateBy(java.lang.String createBy){
		this.createBy = createBy;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  创建日期
	 */
	@Column(name ="CREATE_DATE",nullable=true,length=20)
	public java.util.Date getCreateDate(){
		return this.createDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  创建日期
	 */
	public void setCreateDate(java.util.Date createDate){
		this.createDate = createDate;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  更新人名称
	 */
	@Column(name ="UPDATE_NAME",nullable=true,length=50)
	public java.lang.String getUpdateName(){
		return this.updateName;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  更新人名称
	 */
	public void setUpdateName(java.lang.String updateName){
		this.updateName = updateName;
	}
	/**
	 *方法: 取得java.lang.String
	 *@return: java.lang.String  更新人登录名称
	 */
	@Column(name ="UPDATE_BY",nullable=true,length=50)
	public java.lang.String getUpdateBy(){
		return this.updateBy;
	}

	/**
	 *方法: 设置java.lang.String
	 *@param: java.lang.String  更新人登录名称
	 */
	public void setUpdateBy(java.lang.String updateBy){
		this.updateBy = updateBy;
	}
	/**
	 *方法: 取得java.util.Date
	 *@return: java.util.Date  更新日期
	 */
	@Column(name ="UPDATE_DATE",nullable=true,length=20)
	public java.util.Date getUpdateDate(){
		return this.updateDate;
	}

	/**
	 *方法: 设置java.util.Date
	 *@param: java.util.Date  更新日期
	 */
	public void setUpdateDate(java.util.Date updateDate){
		this.updateDate = updateDate;
	}
	@Column(name="effect_evaluate")
	public Integer getEffectEvaluate() {
		return effectEvaluate;
	}

	public void setEffectEvaluate(Integer effectEvaluate) {
		this.effectEvaluate = effectEvaluate;
	}

	/**
	 * @return 获取 评价状态
	 */
	@Column(name="evaluate_state")
	public String getEvaluateState() {
		return evaluateState;
	}
	/**
	 * @param 设置 评价状态
	 */
	public void setEvaluateState(String evaluateState) {
		this.evaluateState = evaluateState;
	}

	/**
	 * @return 获取 业务类型
	 */
	@Column(name="bus_type")
	public String getBusType() {
		return busType;
	}

	/**
	 * @param 设置 业务类型
	 */
	public void setBusType(String busType) {
		this.busType = busType;
	}

    @Column(name = "evaluate_type")
    public String getEvaluateType() {
        return evaluateType;
    }

    public void setEvaluateType(String evaluateType) {
        this.evaluateType = evaluateType;
    }

    @Column(name="remark",nullable=true)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Column(name="evaluate_name",nullable=true)
	public java.lang.String getEvaluateName() {
		return evaluateName;
	}

	public void setEvaluateName(java.lang.String evaluateName) {
		this.evaluateName = evaluateName;
	}
	
	@Column(name="evaluate_time",nullable=true)
	public java.util.Date getEvaluateTime() {
		return evaluateTime;
	}

	public void setEvaluateTime(java.util.Date evaluateTime) {
		this.evaluateTime = evaluateTime;
	}
    
    
}
